package com.znzz.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.znzz.domain.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * 加快数据层开发
 */
@Mapper
@Repository
public interface UserDao extends BaseMapper<User> {//使用Mybatis-Plus

    /* @Select("select * from tb_user where id = #{id}")
     User getById(String id);*/
    boolean save(User user);
}
